// src/pages/Home/SystemOperations/index.js
import React from 'react';
import { Tabs } from 'antd';
import OperationLog from '@/components/SystemOperations/OperationLog';
import SystemMonitor from '@/components/SystemOperations/SystemMonitor';
import DocumentManagement from '@/components/SystemOperations/DocumentManagement';

const SystemOperations = () => {
  const items = [
    {
      key: 'logs',
      label: '操作日志审计',
      children: <OperationLog />,
    },
    {
      key: 'monitor',
      label: '系统性能监控',
      children: <SystemMonitor />,
    },
    {
      key: 'documents',
      label: '文档管理',
      children: <DocumentManagement />,
    },
  ];

  return (
    <div style={{ padding: '24px' }}>
      <Tabs defaultActiveKey="logs" items={items} />
    </div>
  );
};

export default SystemOperations;
